projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5815604
)
CI: use bash style variable expansion for the mingw cache key
author
Christoph Reiter
<reiter.christoph@gmail.com>
Wed, 6 May 2020 19:19:52 +0000
(21:19 +0200)
committer
Christoph Reiter
<reiter.christoph@gmail.com>
Wed, 6 May 2020 19:23:14 +0000
(21:23 +0200)
It doesn't understand the powershell syntax which leads to the cache
key being empty which leads to cache restore being skipped
which leads to slow builds not using ccache.
See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2747
.gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index 8a80b60435b35627ee66e561cd6d8becf152c83d..b228e9c6570f185382edb56e3f9d0d312e391609 100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-104,7
+104,7
@@
release-build:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
cache:
- key: "$
{env:CI_JOB_NAME}
"
+ key: "$
CI_JOB_NAME
"
<<: *cache-paths
msys2-mingw32: